<?php
return array (
	'name' => '拉咪街',

	'timeZone' => 'Asia/Shanghai',
	'language' => 'zh_cn',
	
	'runtimePath' => './data/runtime',
	'modules' => array (
		'admin',
		'album',
		'member'
	),
	'components' => array (
		'db' => array (
			'connectionString' => 'mysql:host=localhost;dbname=lamijie',
			'username' => 'root',
			'password' => '',
			'tablePrefix' => 'pre_',
			'charset' => 'utf8',
			'schemaCachingDuration' => 3600,
		),
		'cache'=>array(
			'class'=>'CFileCache',
		),
		'assetManager' => array (
			'basePath' => './data/assets',
			'baseUrl' => 'data/assets' 
		),
		'mail' => array (
			'Host' => 'smtp.qq.com',
			'Mailer' => 'smtp',
			'SMTPAuth' => true,
			'From' => 'callmez@foxmail.com',
			'FromName' => '管理员',
			'Username' => '262357321@qq.com',
			'Password' => '*?5213106123q' 
		),
		'log' => array (
			'class' => 'CLogRouter',
			'routes' => array (
				array (
					'class' => 'CFileLogRoute',
					'levels' => 'trace, info, profile, warning, error,',
					'categories' => 'naruto.*' 
				) 
			) 
		),
	),
	'params' => array (
		'defaultQuestion' => array (
			'你爸爸叫什么名字',
			'你妈妈叫什么名字',
			'你爷爷叫什么名字',
			'你奶奶叫什么名字' 
		) 
	)
	 
);
?>